import React, { useEffect } from "react";
import "./err.less";
import { Toast } from "antd-mobile";
export default function Err404() {
  useEffect(() => {
    Toast.show({
      icon: "fail",
      content: "你访问的页面不存在，稍后帮你返回首页",
    });
    setTimeout(() => {
      // nav('/home')
    }, 1000);
  }, []);
  return <div className="err">Err404</div>;
}
